package com.ruoyi.factory.buyprice.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购行情weihu渠道对象 t_bumawh_cha_body
 * 
 * @author ljj
 * @date 2024-06-11
 */
public class BumawhChaBody extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 表头id */
    @Excel(name = "表头id")
    private Long bumaHeadId;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    private String chaname;

    /** 币种1人民币 2美元 */
    @Excel(name = "币种1人民币 2美元")
    private String currency;

    /** 市场价原币 */
    @Excel(name = "市场价原币")
    private BigDecimal marketPriceYb;

    /** 采购价原币 */
    @Excel(name = "采购价原币")
    private BigDecimal buyPriceYb;

    /** 市场价本币 */
    @Excel(name = "市场价本币")
    private BigDecimal marketPriceBb;

    /** 采购价本币 */
    @Excel(name = "采购价本币")
    private BigDecimal buyPriceBb;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private BigDecimal buyAmount;

    /** 选择日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "选择日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sedate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcCreator;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcCreatedate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcLastmodifier;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcLastmodifydate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date fgcRowversion;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fgcUpdatehelp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBumaHeadId(Long bumaHeadId)
    {
        this.bumaHeadId = bumaHeadId;
    }

    public Long getBumaHeadId()
    {
        return bumaHeadId;
    }
    public void setChaname(String chaname) 
    {
        this.chaname = chaname;
    }

    public String getChaname() 
    {
        return chaname;
    }
    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }
    public void setMarketPriceYb(BigDecimal marketPriceYb)
    {
        this.marketPriceYb = marketPriceYb;
    }

    public BigDecimal getMarketPriceYb()
    {
        return marketPriceYb;
    }
    public void setBuyPriceYb(BigDecimal buyPriceYb)
    {
        this.buyPriceYb = buyPriceYb;
    }

    public BigDecimal getBuyPriceYb()
    {
        return buyPriceYb;
    }
    public void setMarketPriceBb(BigDecimal marketPriceBb)
    {
        this.marketPriceBb = marketPriceBb;
    }

    public BigDecimal getMarketPriceBb()
    {
        return marketPriceBb;
    }
    public void setBuyPriceBb(BigDecimal buyPriceBb)
    {
        this.buyPriceBb = buyPriceBb;
    }

    public BigDecimal getBuyPriceBb()
    {
        return buyPriceBb;
    }
    public void setBuyAmount(BigDecimal buyAmount)
    {
        this.buyAmount = buyAmount;
    }

    public BigDecimal getBuyAmount()
    {
        return buyAmount;
    }
    public void setSedate(Date sedate) 
    {
        this.sedate = sedate;
    }

    public Date getSedate() 
    {
        return sedate;
    }
    public void setFgcCreator(String fgcCreator) 
    {
        this.fgcCreator = fgcCreator;
    }

    public String getFgcCreator() 
    {
        return fgcCreator;
    }
    public void setFgcCreatedate(Date fgcCreatedate) 
    {
        this.fgcCreatedate = fgcCreatedate;
    }

    public Date getFgcCreatedate() 
    {
        return fgcCreatedate;
    }
    public void setFgcLastmodifier(String fgcLastmodifier) 
    {
        this.fgcLastmodifier = fgcLastmodifier;
    }

    public String getFgcLastmodifier() 
    {
        return fgcLastmodifier;
    }
    public void setFgcLastmodifydate(Date fgcLastmodifydate) 
    {
        this.fgcLastmodifydate = fgcLastmodifydate;
    }

    public Date getFgcLastmodifydate() 
    {
        return fgcLastmodifydate;
    }
    public void setFgcRowversion(Date fgcRowversion) 
    {
        this.fgcRowversion = fgcRowversion;
    }

    public Date getFgcRowversion() 
    {
        return fgcRowversion;
    }
    public void setFgcUpdatehelp(String fgcUpdatehelp) 
    {
        this.fgcUpdatehelp = fgcUpdatehelp;
    }

    public String getFgcUpdatehelp() 
    {
        return fgcUpdatehelp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bumaHeadId", getBumaHeadId())
            .append("chaname", getChaname())
            .append("currency", getCurrency())
            .append("marketPriceYb", getMarketPriceYb())
            .append("buyPriceYb", getBuyPriceYb())
            .append("marketPriceBb", getMarketPriceBb())
            .append("buyPriceBb", getBuyPriceBb())
            .append("buyAmount", getBuyAmount())
            .append("sedate", getSedate())
            .append("fgcCreator", getFgcCreator())
            .append("fgcCreatedate", getFgcCreatedate())
            .append("fgcLastmodifier", getFgcLastmodifier())
            .append("fgcLastmodifydate", getFgcLastmodifydate())
            .append("fgcRowversion", getFgcRowversion())
            .append("fgcUpdatehelp", getFgcUpdatehelp())
            .toString();
    }
}
